package grafika.Zadanie1;

import java.awt.BorderLayout;

import javax.swing.JFrame;


public class Program {

	public static void main(String[] args) {
		
		JFrame ramka = new JFrame();
		ramka.setSize(1200,700);
		ramka.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		MainPanel panel = new MainPanel("C:/raster.bmp");
		PanelKontrolny ster = new PanelKontrolny(panel.img, panel.pr, panel.pw);
		
		ramka.getContentPane().add(panel);
		ramka.getContentPane().add(BorderLayout.SOUTH,ster);
		ramka.setVisible(true);
		
	}

}
